public class reus {

    String name;
    String mima;
    public boolean login(String userNameParam, String passwordParam) {

        System.out.println("接受到的用户名为:"+name );
        System.out.println("接受到的密码为:" +mima);

        boolean reus;
        if (userNameParam.equals("aaa") && passwordParam.equals("123456")) {
            reus = true;
        } else {
            reus = false;
        }

        return reus;
    }
}



